This error has the following cause and solution:
Exit and restart Visual Basic, or exit and restart Windows.